/* ===== 颜色与主题变量 ===== */
:root {
	/* 主要颜色 */
	--primary-color: #007bff;
	--primary-light: #00e1ff;
	--secondary-color: #555;
	--text-color: #333;
	--bg-color: #f9f9f9;
	--card-bg: rgba(255, 255, 255, 0.8);

	/* 暗色主题颜色 */
	--dark-primary: #ff5722;
	--dark-primary-light: #e040fb;
	--dark-text: #e0e0e0;
	--dark-bg: #1a1a1a;
	--dark-card-bg: rgba(40, 40, 40, 0.8);

	/* 交互颜色 */
	--hover-shadow: rgba(0, 123, 255, 0.25);
	--dark-hover-shadow: rgba(255, 87, 34, 0.25);

	/* 动画时间 */
	--transition-fast: 0.3s;
	--transition-normal: 0.5s;
	--transition-slow: 0.8s;
}

/* ===== 重置与基础样式 ===== */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* 全局样式 */
body {
	font-family: Arial, sans-serif;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	background-color: transparent;
	color: var(--text-color);
	min-height: 100vh;
	position: relative;
	scroll-behavior: smooth;
	overflow-y: scroll;
	border: none;
	/* 移除边框 */
	cursor: none !important;
	/* 隐藏默认光标 */
	-webkit-user-select: none;
	/* 禁止选择文本，避免出现文本选择光标 */
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* 对所有可交互元素隐藏默认光标 */
*,
*::before,
*::after,
a,
button,
input,
textarea,
select,
img,
svg,
iframe,
.project-card,
.tech-tag,
ul.skills li,
.social-links a,
#theme-toggle,
.container,
.avatar {
	cursor: none !important;
}

/* SVG背景样式 */
#wave-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background-color: var(--bg-color);
	border: none;
	/* 移除边框 */
}

/* 容器 */
.container {
	max-width: 800px;
	margin: 0 auto;
	padding: 25px;
	text-align: center;
	animation: fadeIn 1s ease-out;
	position: relative;
	z-index: 1;
	background-color: var(--card-bg);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 5px rgba(0, 0, 0, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transform: translateZ(0);
}

/* 头像样式 */
.avatar {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	margin-bottom: 20px;
	transition: transform var(--transition-normal) ease;
}

.avatar:hover {
	transform: scale(1.05);
}

.avatar-container {
	position: relative;
	display: inline-block;
	margin-bottom: 10px;
}

/* 切换主题按钮样式 */
#theme-toggle {
	background: rgba(0, 123, 255, 0.1);
	color: var(--primary-color);
	border: none;
	padding: 8px 16px;
	font-size: 0.9rem;
	border-radius: 25px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
	transition: all var(--transition-fast) ease;
	position: relative;
	overflow: hidden;
	font-weight: 500;
	letter-spacing: 0.5px;
	backdrop-filter: blur(5px);
}

#theme-toggle::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.1));
	transition: all var(--transition-normal) ease;
}

#theme-toggle:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px var(--hover-shadow);
	background: rgba(0, 123, 255, 0.15);
}

#theme-toggle:hover::before {
	left: 100%;
}

/* 暗色模式下的按钮样式 */
body.dark-theme #theme-toggle {
	background: rgba(255, 87, 34, 0.1);
	color: var(--dark-primary);
	box-shadow: 0 2px 8px rgba(255, 87, 34, 0.15);
}

body.dark-theme #theme-toggle::before {
	background: linear-gradient(to right, rgba(255, 87, 34, 0.1), rgba(255, 87, 34, 0.2), rgba(255, 87, 34, 0.1));
}

body.dark-theme #theme-toggle:hover {
	background: rgba(255, 87, 34, 0.15);
	box-shadow: 0 5px 15px var(--dark-hover-shadow);
}

/* 标题样式增强 */
h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
	background: linear-gradient(to right, var(--primary-color), var(--primary-light));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
	text-shadow: 0 2px 10px rgba(0, 123, 255, 0.1);
	letter-spacing: 1px;
}

h2 {
	font-size: 1.8rem;
	margin-top: 30px;
	margin-bottom: 15px;
	color: #444;
	position: relative;
	display: inline-block;
	padding-bottom: 5px;
}

h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: linear-gradient(to right, var(--primary-color), var(--primary-light));
	border-radius: 3px;
}

/* 暗色主题标题样式 */
body.dark-theme h1 {
	background: linear-gradient(to right, var(--dark-primary), var(--dark-primary-light));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
	text-shadow: 0 2px 10px rgba(255, 87, 34, 0.2);
}

body.dark-theme h2::after {
	background: linear-gradient(to right, var(--dark-primary), var(--dark-primary-light));
}

p {
	font-size: 1rem;
	color: var(--secondary-color);
	margin-bottom: 20px;
}

/* 技能列表增强 */
ul.skills {
	list-style: none;
	padding: 0;
}

ul.skills li {
	font-size: 1rem;
	margin: 12px 0;
	padding: 8px 15px;
	background: rgba(0, 123, 255, 0.08);
	border-radius: 20px;
	display: inline-block;
	transition: all 0.3s ease;
}

ul.skills li:hover {
	transform: translateY(-3px);
	background: rgba(0, 123, 255, 0.15);
	box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
}

body.dark-theme ul.skills li {
	background: rgba(255, 87, 34, 0.08);
}

body.dark-theme ul.skills li:hover {
	background: rgba(255, 87, 34, 0.15);
	box-shadow: 0 4px 8px rgba(255, 87, 34, 0.1);
}

/* 社交链接增强 */
.social-links {
	list-style: none;
	padding: 0;
	margin-top: 20px;
}

.social-links li {
	display: inline-block;
	margin: 0 10px;
}

.social-links a {
	text-decoration: none;
	color: #0077cc;
	font-size: 1rem;
	display: inline-block;
	transition: all 0.3s ease;
	padding: 8px 12px;
	border-radius: 6px;
}

.social-links a:hover {
	color: #007bff;
	transform: translateY(-3px);
	background: rgba(0, 123, 255, 0.1);
	text-decoration: none;
}

body.dark-theme .social-links a {
	color: #66b3ff;
}

body.dark-theme .social-links a:hover {
	color: #e040fb;
	background: rgba(224, 64, 251, 0.1);
}

/* 页脚样式 */
footer {
	margin-top: 60px;
	padding-top: 30px;
	font-size: 0.95rem;
	color: #888;
	position: relative;
}

footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	/* Changed from 80px to 0 to remove the divider line */
	height: 0;
	/* Changed from 2px to 0 to remove the divider line */
	background: linear-gradient(to right, transparent, rgba(0, 123, 255, 0.3), transparent);
}

body.dark-theme footer::before {
	background: linear-gradient(to right, transparent, rgba(255, 87, 34, 0.3), transparent);
}

/* 页脚文本样式增强 */
footer p {
	font-size: 0.9rem;
	color: #999;
	opacity: 0.8;
	letter-spacing: 0.3px;
	transition: all 0.3s ease;
	background: linear-gradient(to right, #777, #999);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
	display: inline-block;
	padding: 5px 0;
}

footer p .heart {
	color: #ff5757;
	-webkit-text-fill-color: #ff5757;
	margin: 0 3px;
	position: relative;
	display: inline-block;
	animation: heartbeat 1.5s infinite ease-in-out;
}

@keyframes heartbeat {

	0%,
	100% {
		transform: scale(1);
	}

	10% {
		transform: scale(1.2);
	}

	20% {
		transform: scale(0.9);
	}

	30% {
		transform: scale(1.1);
	}
}

body.dark-theme footer p {
	color: #777;
	background: linear-gradient(to right, #999, #666);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

/* 悬停效果 */
footer p:hover {
	opacity: 1;
}

@media (max-width: 768px) {
	.container {
		padding: 10px;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.6rem;
	}

	p {
		font-size: 0.9rem;
	}

	::-webkit-scrollbar {
		width: 0;
		height: 0;
		display: none;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 114514;
	}
}

/* 黑色主题 */
body.dark-theme {
	background-color: transparent;
	color: #f0f0f0;
}

body.dark-theme #wave-background {
	background-color: #1a1a1a;
	border: none;
	/* 移除可能的边框 */
}

body.dark-theme .container {
	background-color: rgba(25, 25, 25, 0.8);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 1px 5px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

h2.dark-theme {
	color: #f0f0f0;
}

p.dark-theme {
	color: #f0f0f0;
}

/* 过渡动画 - 增强版 */
body,
h2,
p,
.container,
.project-card,
.tech-tag,
.social-links a,
ul.skills li,
header p,
#wave-background,
.avatar,
footer,
#theme-toggle {
	transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 添加页面切换主题时的覆盖动画 */
.theme-transition-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at center, transparent 0%, #ffffff 100%);
	opacity: 0;
	z-index: 9999;
	pointer-events: none;
	transition: opacity 0.5s ease-out;
}

body.dark-theme .theme-transition-overlay {
	background: radial-gradient(circle at center, transparent 0%, #1a1a1a 100%);
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
	width: 4px;
	height: 4px;
	position: absolute;
}

::-webkit-scrollbar-track {
	background: transparent;
	margin: 150px 0;
	/* 上下留出空白，让滚动条更短 */
}

::-webkit-scrollbar-thumb {
	background: rgba(128, 128, 128, 0.15);
	/* 稍微降低默认状态的不透明度 */
	border-radius: 2px;
	transition: all 0.3s ease;
	min-height: 80px;
	/* 设置最小高度 */
	max-height: 150px;
	/* 设置最大高度 */
}

::-webkit-scrollbar-thumb:hover {
	background: rgba(128, 128, 128, 0.25);
	width: 6px;
}

/* 暗色主题滚动条 */
body.dark-theme::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.08);
	/* 降低暗色主题下的不透明度 */
}

body.dark-theme::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.12);
}

/* 亮色主题滚动条 */
body:not(.dark-theme)::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.08);
	/* 降低亮色主题下的不透明度 */
}

body:not(.dark-theme)::-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, 0.12);
}

/* 项目展示区域 */
.projects-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin: 30px auto;
	max-width: 100%;
	padding: 0 15px;
}

/* 项目卡片 */
.project-card {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 7px 20px rgba(0, 0, 0, 0.05), 0 2px 5px rgba(0, 0, 0, 0.07);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
	transform: translateZ(0);
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
	transform: translateY(-12px) scale(1.01);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.dark-theme .project-card {
	background: rgba(255, 255, 255, 0.02);
	box-shadow: 0 7px 20px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.03);
}

.project-card .image-container {
	position: relative;
	width: 100%;
	height: 180px;
	margin-bottom: 15px;
	overflow: hidden;
	border-radius: 8px;
}

.project-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.3s ease;
}

.project-card .project-description {
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	height: 180px;
	background: none;
	/* 移除黑色背景 */
	color: white;
	padding: 20px;
	border-radius: 8px;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	/* 添加文字阴影提高可读性 */
	backdrop-filter: blur(5px);
	/* 添加背景模糊效果 */
	background: rgba(0, 0, 0, 0.3);
	/* 添加轻微的半透明背景 */
	font-weight: 500;
	letter-spacing: 0.5px;
	line-height: 1.6;
}

.project-card:hover img {
	filter: blur(5px) brightness(0.7);
	/* 增加亮度调整 */
	transform: scale(1.05);
	/* 添加轻微放大效果 */
}

.project-card:hover .project-description {
	opacity: 1;
	transform: translateY(0);
}

.project-card h3 {
	font-size: 1.3rem;
	margin: 0 0 10px 0;
	color: #333;
	position: relative;
	display: inline-block;
	transition: all 0.3s ease;
}

.project-card:hover h3 {
	background: linear-gradient(to right, #007bff, #00e1ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

body.dark-theme .project-card:hover h3 {
	background: linear-gradient(to right, #ff5722, #e040fb);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

.project-card p {
	display: none;
}

.project-card .tech-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
}

.project-card .tech-tag {
	font-size: 0.85rem;
	padding: 6px 12px;
	background: rgba(0, 119, 204, 0.08);
	border-radius: 6px;
	color: #0077cc;
	transition: all 0.2s ease;
}

.project-card .tech-tag:hover {
	background: rgba(0, 119, 204, 0.15);
}

body.dark-theme .project-card .tech-tag {
	background: rgba(255, 255, 255, 0.05);
	color: #66b3ff;
}

body.dark-theme .project-card .tech-tag:hover {
	background: rgba(255, 255, 255, 0.1);
}

body.dark-theme .project-card .project-description {
	background: rgba(0, 0, 0, 0.3);
	/* 调整暗色主题下的背景透明度 */
}

/* 移动端适配 */
@media (max-width: 768px) {
	.projects-container {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 0 10px;
	}

	.project-card {
		padding: 12px;
	}

	.project-card img {
		height: 200px;
	}
}

/* Student标签样式 */
header p {
	font-size: 1.1rem;
	color: #555;
	margin: 5px 0 20px;
	position: relative;
	display: inline-block;
	padding: 5px 15px;
	background: rgba(0, 123, 255, 0.08);
	border-radius: 20px;
	letter-spacing: 1px;
	transition: all 0.3s ease;
}

header p:hover {
	transform: translateY(-2px);
	background: rgba(0, 123, 255, 0.15);
	box-shadow: 0 4px 10px rgba(0, 123, 255, 0.1);
}

/* 暗色主题Student标签 */
body.dark-theme header p {
	color: #eee;
	background: rgba(255, 87, 34, 0.1);
}

body.dark-theme header p:hover {
	background: rgba(255, 87, 34, 0.2);
	box-shadow: 0 4px 10px rgba(255, 87, 34, 0.1);
}

/* 欢迎动画 */
.welcome-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #f9f9f9;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

body.dark-theme .welcome-screen {
	background-color: #1a1a1a;
}

.welcome-text {
	font-size: 3rem;
	font-weight: 700;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.welcome-text.visible {
	opacity: 1;
	transform: translateY(0);
}

.welcome-screen.fade-out {
	opacity: 0;
	transform: scale(1.1);
	pointer-events: none;
}

/* 隐藏内容直到欢迎动画完成 */
.content-wrapper {
	opacity: 0;
	transition: opacity 0.8s ease-out 0.2s;
}

.content-wrapper.visible {
	opacity: 1;
}

/* 设置emoji的样式 */
.welcome-emoji {
	font-size: 4rem;
	margin-right: 15px;
	display: inline-block;
	transform-origin: 70% 70%;
}

@keyframes waveHand {
	0% {
		transform: rotate(0deg);
	}

	10% {
		transform: rotate(14deg);
	}

	20% {
		transform: rotate(-8deg);
	}

	30% {
		transform: rotate(14deg);
	}

	40% {
		transform: rotate(-4deg);
	}

	50% {
		transform: rotate(10deg);
	}

	60% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(0deg);
	}
}

.wave-animation {
	animation: waveHand 2.5s ease-in-out;
}

/* 调整移动端样式 */
@media (max-width: 768px) {
	.welcome-text {
		font-size: 2.5rem;
	}

	.welcome-emoji {
		font-size: 3rem;
	}
}

/* 自定义鼠标样式 */
.cursor {
	position: fixed;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(0, 123, 255, 0.5);
	pointer-events: none;
	mix-blend-mode: difference;
	z-index: 999999;
	/* 增加z-index确保在最顶层 */
	transition: transform 0.1s cubic-bezier(0.215, 0.61, 0.355, 1), background 0.1s ease;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 10px rgba(0, 123, 255, 0.3), 0 0 2px rgba(255, 255, 255, 0.6);
	will-change: transform, left, top;
	/* 提高性能 */
	backface-visibility: hidden;
	/* 提高性能 */
	-webkit-backface-visibility: hidden;
}

.cursor-follower {
	position: fixed;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(0, 123, 255, 0.1);
	pointer-events: none;
	z-index: 999998;
	/* 在主光标下方 */
	transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), background 0.3s ease;
	transform: translate(-50%, -50%);
	will-change: transform, left, top;
	/* 提高性能 */
	backface-visibility: hidden;
	/* 提高性能 */
	-webkit-backface-visibility: hidden;
}

.cursor.active {
	transform: translate(-50%, -50%) scale(0.7);
	background: rgba(0, 123, 255, 0.8);
}

.cursor-follower.active {
	transform: translate(-50%, -50%) scale(1.5);
}

body.dark-theme .cursor {
	background: rgba(255, 87, 34, 0.5);
	box-shadow: 0 0 10px rgba(255, 87, 34, 0.3);
}

body.dark-theme .cursor-follower {
	background: rgba(255, 87, 34, 0.1);
}

body.dark-theme .cursor.active {
	background: rgba(255, 87, 34, 0.8);
}

/* 对可点击元素悬停时的鼠标样式 - 已全局设置，不再需要单独设置 */
/* a, button, .project-card, .tech-tag, ul.skills li {
	cursor: none;
} */

/* 在移动设备上不显示自定义鼠标并恢复默认光标 */
@media (max-width: 768px) {

	.cursor,
	.cursor-follower {
		display: none;
	}

	body,
	* {
		cursor: auto !important;
		/* 在移动设备上恢复默认光标 */
	}
}

/* 主题切换按钮包装器 */
.theme-toggle-wrapper {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9990;
	transition: all 0.3s ease;
}

@media (max-width: 768px) {
	.theme-toggle-wrapper {
		top: 15px;
		right: 15px;
	}

	#theme-toggle {
		padding: 6px 12px;
		font-size: 0.85rem;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}
}

/* 页面滚动进度指示器 */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: linear-gradient(to right, #007bff, #00e1ff);
	z-index: 9995;
	transition: width 0.1s ease;
}

body.dark-theme .scroll-progress {
	background: linear-gradient(to right, #ff5722, #e040fb);
}

/* 回到顶部按钮 */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 45px;
	height: 45px;
	background: rgba(0, 123, 255, 0.1);
	color: #007bff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.3s ease;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	z-index: 9990;
	backdrop-filter: blur(5px);
}

.back-to-top i {
	font-size: 18px;
}

.back-to-top.visible {
	opacity: 1;
	transform: translateY(0);
}

.back-to-top:hover {
	background: rgba(0, 123, 255, 0.2);
	transform: translateY(-5px);
}

body.dark-theme .back-to-top {
	background: rgba(255, 87, 34, 0.1);
	color: #ff5722;
}

body.dark-theme .back-to-top:hover {
	background: rgba(255, 87, 34, 0.2);
}

@media (max-width: 768px) {
	.back-to-top {
		width: 40px;
		height: 40px;
		bottom: 20px;
		right: 20px;
	}
}

/* 暗色主题项目卡片样式 */
body.dark-theme .project-card h3 {
	color: #fff;
}

/* 头像区域增强 */
.avatar-container {
	position: relative;
	width: 150px;
	height: 150px;
	margin: 0 auto 30px;
	border-radius: 50%;
	padding: 5px;
	background: linear-gradient(145deg, #ffffff, #f0f0f0);
	box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15);
	transition: all 0.3s ease;
}

body.dark-theme .avatar-container {
	background: linear-gradient(145deg, #333333, #222222);
	box-shadow: 0 10px 25px rgba(255, 87, 34, 0.15);
}

.avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	transition: all 0.3s ease;
	border: none;
	margin-bottom: 0;
}

.avatar-container:hover {
	transform: scale(1.05);
}

/* 技能标签改进 */
.skills-container {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
	margin: 20px 0;
}

ul.skills {
	margin: 0;
}

ul.skills li {
	margin: 5px;
}

/* 页面动画效果 */
.section-animate {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.section-animate.visible {
	opacity: 1;
	transform: translateY(0);
}

/* 图片加载动画 */
@keyframes imageLoad {
	from {
		opacity: 0;
		filter: blur(10px);
	}

	to {
		opacity: 1;
		filter: blur(0);
	}
}

.image-container img {
	animation: imageLoad 0.8s ease forwards;
}

/* 更平滑的过渡 */
.social-links a,
.project-card,
.tech-tag,
.avatar,
header p {
	will-change: transform;
}

/* 聚焦效果 */
.focus-effect {
	position: fixed;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	pointer-events: none;
	z-index: -1;
	background: radial-gradient(circle at center,
			rgba(0, 123, 255, 0.15),
			rgba(0, 123, 255, 0) 70%);
	transition: opacity 0.3s ease;
	transform: translate(-50%, -50%);
	opacity: 0;
}

body.dark-theme .focus-effect {
	background: radial-gradient(circle at center,
			rgba(255, 87, 34, 0.15),
			rgba(255, 87, 34, 0) 70%);
}

.focus-effect.active {
	opacity: 1;
}